// export const userInfo = {
//   actionCompanyCode: 'putong',
//   actionCompanyName: '浦东分局',
//   actionDepartmentCode: 'shanghai',
//   actionDepartmentName: '上海',
//   actionUserName: '蔡徐坤',
//   actionUserNo: '123'
// }
const user: any = localStorage.getItem('u') || '{}'
const userData = JSON.parse(user)

export const userInfo = {
  actionCompanyCode: userData.companyCode || 'TestCompanyCode_0',
  actionCompanyName: userData.companyName || '11',
  actionDepartmentCode: userData.departmentCode || 'TestDepartmentCode_0',
  actionDepartmentName: userData.departmentName || '1',
  actionUserName: userData.userName || '11',
  actionUserNo: userData.userNo || '11'
}

export const getUserInfo = () => {
  const userInfo = {}
  return userInfo
}
